package com.ydd.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "文章收藏/点赞列表返回数据")
public class ArticleCollectVO implements Serializable {
    @ApiModelProperty("分类名")
    private String catename;
    @ApiModelProperty("文章id")
    private Long id;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("作者")
    private String author;
    @ApiModelProperty("关键字")
    private String keywords;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("标签")
    private String tags;
    @ApiModelProperty("是否置顶，1是0否")
    private Integer istop;
    @ApiModelProperty("是否热门，1是0否")
    private Integer ishot;
    @ApiModelProperty("创建时间")
    private LocalDate create_date;
    @ApiModelProperty("阅读量")
    private Long click;
    @ApiModelProperty("图片")
    private String pic;
    @ApiModelProperty("点赞数")
    private Long lovenum;
}
